
/**		
 * 
 *	uk.co.lmfm.guppy.view.components.events.MenuButtonEvent
 *	
 *	@version 1.00 | Jan 13, 2010
 *	@author Justin Windle
 *  
 **/
 
package uk.co.lmfm.guppy.view.components.events 
{
	import flash.events.Event;

	/**
	 * MenuButtonEvent
	 */
	public class MenuButtonEvent extends Event 
	{
		//	----------------------------------------------------------------
		//	CONSTANTS
		//	----------------------------------------------------------------

		public static const VIEW_SELECTED : String = "viewSelected";

		//	----------------------------------------------------------------
		//	PUBLIC METHODS
		//	----------------------------------------------------------------

		public var view : String;

		//	----------------------------------------------------------------
		//	CONSTRUCTOR
		//	----------------------------------------------------------------

		public function MenuButtonEvent(__type : String, __view : String, __bubbles : Boolean = false, __cancelable : Boolean = false)
		{
			super(__type, __bubbles, __cancelable);
			view = __view;
		}

		//	----------------------------------------------------------------
		//	PUBLIC METHODS
		//	----------------------------------------------------------------

		override public function clone() : Event
		{
			return super.clone();
		}
	}
}
